import { CommandTransmit } from "./base";
import Insert from "../insert";

@Insert
export class CommandTransmitMonster extends CommandTransmit {
    constructor() {
        super()
        this.name = "传送明怪"
        this.tags.push("明怪", "怪物")
        this.detail = "传送[明怪,$怪物$]"
        this.insert = "传送[明怪,${1:怪物}]"
        this.docs = ""
    }
}

@Insert
export class CommandTransmitNpc extends CommandTransmit {
    constructor() {
        super()
        this.name = "传送NPC"
        this.tags.push("NPC", "Npc", "npc")
        this.detail = "传送[NPC,$名字$]"
        this.insert = "传送[NPC,${1:名字}]"
        this.docs = ""
    }
}

@Insert
export class CommandTransmitSubmitNpc extends CommandTransmit {
    constructor() {
        super()
        this.name = "传送交任务NPC"
        this.tags.push("NPC", "Npc", "npc", "任务", "交任务", "完成")
        this.detail = "传送[任务,$任务$,交任务NPC]"
        this.insert = "传送[任务,${1:任务},交任务NPC]"
        this.docs = ""
    }
}

@Insert
export class CommandTransmitTargetNpc extends CommandTransmit {
    constructor() {
        super()
        this.name = "传送目标任务NPC"
        this.tags.push("NPC", "Npc", "npc", "任务", "完成", "目标")
        this.detail = "传送[任务,$任务$,目标NPC]"
        this.insert = "传送[任务,${1:任务},目标NPC]"
        this.docs = ""
    }
}

@Insert
export class CommandTransmitTimerTargetNpc extends CommandTransmit {
    constructor() {
        super()
        this.name = "传送限时任务目标NPC"
        this.tags.push("NPC", "Npc", "npc", "任务", "完成", "目标", "限时任务")
        this.detail = "传送[任务,$任务$,限时任务目标NPC]"
        this.insert = "传送[任务,${1:任务},限时任务目标NPC]"
        this.docs = ""
    }
}

@Insert
export class CommandTransmitTo extends CommandTransmit {
    constructor() {
        super()
        this.name = "传送"
        this.detail = "传送[$地图$, $x$, $y$]"
        this.insert = "传送[${1:地图},${2:x},${3:y}]"
        this.docs = ""
    }
}